package com.sunlake.spring.main.model.orders.dto;

import com.sunlake.spring.main.common.enums.orders.OrdersPaymentMethod;
import com.sunlake.spring.main.common.enums.orders.OrdersTypeEnum;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 订单创建请求DTO
 * @author liuha
 */
@Data
public class OrdersCreateDTO {
    @NotNull(message = "订单类型不能为空")
    private OrdersTypeEnum type;
    
    @NotNull(message = "商品ID不能为空")
    private Integer itemId;
    
    private Integer couponId;  // 优惠券ID
    private String remark;     // 订单备注
}
